package main

import (
	"fmt"
)

func main(){
	var intChan chan int
	var emptyInterface interface{}
	intChan = make(chan int,3)
	intChan <- 1
	intChan <- 2
	intChan <- 3
	emptyInterface = <- intChan
	var b int = emptyInterface.(int)
	fmt.Println(b)
	//fmt.Printf("%d",len(intChan))
	/*
	for v:= range intChan{
		fmt.Printf("%d ",v)
	}
	*/
}
